package
{
	import flash.display.Stage;
	
	public class Config
	{
		public static const SuccessPointsAtStart:uint = 0;
		public static const GrantedFailurs:uint = 2;
		
		public static const RightProductsPerLevel:uint = 5;
		public static const WrongProductsPerLevel:uint = 10;
		
		public static const ProductPicPath:String = "./gameData/images/";
		public static const ProductSoundPath:String = "./gameData/audio/products/";
		public static const OtherSoundPath:String = "./gameData/audio/other/";
		
		public static const QuestionSoundPath:String = "./gameData/audio/questions/";
		public static const ExplanationSoundPath:String = "./gameData/audio/explanations/";
		public static const ScorePointsPath:String = "./gameData/audio/other/points/";
		public static const ScoreExplPath:String = "./gameData/audio/other/score/";
		public static const IntroSoundPath:String = "./gameData/audio/other/";
		
		public static const scriptedPics:String = "./gameData/";
		
		
		public static const ProductWidthInShelf:uint = 50;
		public static const ProductHeightInShelf:uint = 44;
		public static const ProductDistanceX = 2;		
		
		public static const ShelfIndexZ = 14;
		public static const UpperRightShelfCornerX:uint = 131;
		public static const UpperRightShelfCornerY:uint = 26;
		public static const ShelfDistancePixX:uint = 154;
		public static const BoxDistancePixY:uint = 10;
		
		public static const CashPoinOpenAndCloseSpeedMs = 150;		
		
		public static const cartPositions:Array = [-11, 235, 490];
		public static const cartSpeed:uint = 1;
		public static const cartSpeakingPosition = 270;
		
		public static const productSpeed:uint = 2;
		
		public static const productTrackOne:Array =  new Array([310, 135], [65, 335], [195, 225], [65, 415]);
		public static const productTrackTwo:Array = new Array([545, 135], [300, 335], [430, 225], [300, 415]);
		public static const productTrackThree:Array = new Array ([805, 135], [575, 315], [690, 225], [575, 415]);
		public static const productTrack:Array = new Array(productTrackOne, productTrackTwo, productTrackThree);
		

		public static const numberOfMistakes:int = 3;
		public static const numberOfCatches:int = 5;

		public static const SpeakingActiveSoundLevel:Number = 0.01

		public static const SqueakSound = Config.OtherSoundPath + "cart_squeak.mp3";
	}
}